/*
 Navicat Premium Data Transfer

 Source Server         : 公司阿里云
 Source Server Type    : SQL Server
 Source Server Version : 13005026
 Source Host           : 121.40.101.29:1433
 Source Catalog        : scm_main_sfl_visit_dev
 Source Schema         : dbo

 Target Server Type    : SQL Server
 Target Server Version : 13005026
 File Encoding         : 65001

 Date: 07/12/2020 08:46:11
*/


-- ----------------------------
-- Table structure for smart_carhj
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[smart_carhj]') AND type IN ('U'))
	DROP TABLE [dbo].[smart_carhj]
GO

CREATE TABLE [dbo].[smart_carhj] (
  [bd_carhj] int  NOT NULL,
  [bd_cardsy] int  NOT NULL,
  [bd_station] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [id] int  IDENTITY(1,1) NOT NULL
)
GO

ALTER TABLE [dbo].[smart_carhj] SET (LOCK_ESCALATION = TABLE)
GO


-- ----------------------------
-- Primary Key structure for table smart_carhj
-- ----------------------------
ALTER TABLE [dbo].[smart_carhj] ADD CONSTRAINT [PK_smart_carhj] PRIMARY KEY CLUSTERED ([id])
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)  
ON [PRIMARY]
GO

